package com.jeeplus.test.jlnu.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.test.jlnu.student.domain.entity.BsssStudentResume;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BsssStudentResumeMapper extends BaseMapper<BsssStudentResume> {

    int addBsssStudentResume(List<BsssStudentResume> bsssStudentResumeList);

    int add(@Param("item") BsssStudentResume bsssStudentResume);

    List<BsssStudentResume> getResumeByStudentId(@Param("studentId") String studentId);

    int deleteResumeById(int id);

    int updateResumeById(BsssStudentResume bsssStudentResume);

    int batchUpdateByStudentIds(BsssStudentResume bsssStudentResume);

    //履历信息分页查询
    Page<BsssStudentResume> getResumeInfoPage(@Param("bsssStudentResume") BsssStudentResume bsssStudentResume, Page<BsssStudentResume> page);

    //履历信息详情
    BsssStudentResume getStudentResumeByStudentId(@Param("bsssStudentResume") BsssStudentResume bsssStudentResume);
}
